const getCollectList = require("./getCollectList/index");
const deleteCollect = require("./deleteCollect/index");

// 云函数入口函数
exports.main = async (event, context) => {
    switch (event.type) {
        case "getCollectList":
            return await getCollectList.main(event, context);
        case "deleteCollect":
            return await deleteCollect.main(event, context);
    }
};